getDragCameraOptions

abstract fun getDragCameraOptions(@NonNull() fromPoint: ScreenCoordinate, @NonNull() toPoint: ScreenCoordinate): CameraOptions

Calculates target point where camera should move after drag. The method should be called after `dragStart` and before `dragEnd`.

Return

The `camera options` object showing the end point.

Parameters

fromPoint

The `screen coordinate` to drag the map from, measured in `platform pixels` from top to bottom and from left to right.

toPoint

The `screen coordinate` to drag the map to, measured in `platform pixels` from top to bottom and from left to right.